at his wits end

adj.智穷计尽,不知所措,毫无办法